import React, {Component} from 'react';
import './GlobalList.css';

class GlobalList extends Component {
	render() {
		return (
			<ul className='globalList'>
				{
					this.props.globalList.map((item, index) => {
						return (
							<li className="global"  key={item.id}>
								<img src={item.coverImgUrl} alt=""/>
								<div className="updateTime">{item.updateFrequency}</div>
							</li>
						)
					})
				}
			</ul>
		);
	}
}

export default GlobalList;